import request from '@/utils/request'
export const postorder = (orderObj) => {
    return request.post(`/postorder`, orderObj)
}
export const getorder = (obj) => {
    return request.get('/postorder/getorder', {
        params: obj
    })
}

export const takeorder = (takeOrderInfo) => {
    return request.post(`/postorder/addorder`, takeOrderInfo)
}
export const gettakeorderlist = (obj) => {
    return request.get(`/postorder/getorderlist`,{
        params: obj
    })
}